#ifndef REGEXREPLACE_H
#define REGEXREPLACE_H

/* Below is an example on how to call it
 * regexreplace("shaped_\\([0-9]*\\)_\\([0-9]*\\)", "quota_policer(\\1,\\2)", "shaped_500_400  and shaped_900_100", &result, 256);
 */
int regexreplace(char *pattern, char* replacement, char* instring,  char** outstring, int maxlength);
#endif
